package com.dingreading.cloud.soms.service.impl;

import com.dingreading.cloud.soms.entity.MstCaSchedule;
import com.dingreading.cloud.soms.entity.table.MstCaScheduleTableDef;
import com.dingreading.cloud.soms.mapper.MstCaScheduleMapper;
import com.dingreading.cloud.soms.service.MstCaScheduleService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 服务层实现。
 *
 * @author Administrator
 * @since 2024-10-21
 */
@Service
public class MstCaScheduleServiceImpl extends BaseServiceImpl<MstCaScheduleMapper, MstCaSchedule, MstCaScheduleTableDef> implements MstCaScheduleService {

    @Override
    protected MstCaScheduleTableDef getTable() {
        return MstCaScheduleTableDef.mstCaSchedule;
    }

    @Override
    public List<MstCaSchedule> listByStoreUid(String mstStoreUid) {
        return getMapper().selectListByCondition(table.storeUid.eq(mstStoreUid));
    }
    
}
